<!DOCTYPE HTML>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=utf8">
	<meta name="keywords" content="您问我答微信客服">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes">
	<title>{$userInfo.nickname}</title>	
	<script src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/js/jquery.js"></script>
	<script>
	function jsbq(n){
		$('#textInput').val($('#textInput').val()+'['+n+']');
		$('#qq').hide('slow');
		}
		
	
	function ajaxMain(){
		$time=$('#chat_scorll').attr('time');
		$pic=$('#chat_scorll').attr('img');
		$.post("{:addons_url( 'YouaskService://Index/ajaxMain')}",{time:$time,openid:'{$userInfo.openid}'},
		function(data){
			$('#textNow').append(data);
			if(data==1) return false;
			$objct=eval(data);
			  $($objct).each(function(d){
				val=$objct[d];
				$string='<div class="chatItem you"><div class="chatItemContent"> <img class="avatar" src="'+$pic+'"/> <div class="cloud cloudText"> <div class="cloudPannel" style=""> <div class="sendStatus"></div><div class="cloudBody"> <div class="cloudContent"><pre style="white-space:pre-wrap">'+val.keyword+'</pre></div>  </div> <div class="cloudArrow "></div></div></div></div></div>';
				$('#chat_chatmsglist').append($string);
				$('#chat_scorll').attr('time',val.enddate)
				$('#chat_scorll').scrollTop($('#chat_scorll').children().height()+100);
			});
	   });
	}
	$(function(){
		
		setInterval("ajaxMain()",3000);
		$('#chat_scorll').scrollTop($('#chat_scorll').children().height());
		$("#sendEmojiIcon").click( function () {
			if($('#qq').css('display')=='none'){
				$('#qq').show();
			}else{
				$('#qq').hide();
			}
		});
	    $("#close").click( function () { 
			$("#popupcontactprofile").hide();
			
		});
		$(".chatItemContent").click( function () { 
			$("#popupcontactprofile").show();
			
		});
		
		
		
		$("#sendmsg").click( function () {
			$a=$('#textInput').val(); 
			$.post("{:addons_url( 'YouaskService://Index/send?openid='.$openid)}",
				{ keyword: $a },
		   function(data){
				if(data==1){
					$str='<div class="chatItem me"> <div class="chatItemContent"><img class="avatar" src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/css/img/avatar_default17ced3.png"><div class="cloud cloudText"><div class="cloudPannel"> <div class="sendStatus"></div><div class="cloudBody"> <div class="cloudContent">    <pre style="white-space:pre-wrap">'+$a+'</pre>  </div>  </div><div class="cloudArrow "></div>  </div>  </div>  </div></div>';
					
					$('#chat_chatmsglist').append($str);
					$('#chat_scorll').scrollTop($('#chat_scorll').children().height()+100);
					$('#textInput').val('');
				}else{
					alert('非48小时请求过的客户');
					$('#textInput').val('');
				}
		   });
		   
		});
	});  


	</script>
</head>
<body>
<link rel="stylesheet" type="text/css" href="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/css/css.css">
<div class="content">
<div id="chat" class="chatPanel normalPanel" ctrl="1" style="padding: 0 0 30px 0;">
<div class="chatMainPanel" id="chatMainPanel">
					
					<div class="chatTitle">
						<div class="chatNameWrap">
							<p class="chatName" id="messagePanelTitle">正在与 <span color='red'>[</span>{$userInfo.nickname|default='新客服'}<span color='red'>]</span>进行会话</p>
						</div>
					</div>

					<div class="chatScorll" id="chat_scorll" time='{$endtime}' img="<if condition="$userInfo['headimgurl'] neq ''"><?php echo $userInfo['headimgurl']; ?><else/>{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/css/img/avatar_default17ced3.png</if>" style="height: 400px; overflow-y: hidden; position: relative;overflow: hidden;overflow-y: auto;" >
						<div id="chat_chatmsglist"  class="chatContent" style="top: 0; position: absolute;">                        
							<Volist name="msgList" id="msgListv">
								<if condition="$msgListv['type'] eq 2">
									<div class="chatItem me"> 
										<div class="chatItemContent"> 
											<img class="avatar" src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/css/img/avatar_default17ced3.png" onerror="reLoadImg(this)" un="avatar_yixiaoweb" title="we v" click="showProfile"> 
											<div class="cloud cloudText">
												<div class="cloudPannel" style=""> 
													<div class="sendStatus">   </div> 
													<div class="cloudBody"> 
														<div class="cloudContent">                                  
															<pre style="white-space:pre-wrap">{$msgListv.keyword}</pre>  
														</div>  
													</div>
													<div class="cloudArrow "></div>  
												</div>  
											</div>  
										</div>  
									</div>
									<else/>						
									<div class="chatItem you">
										<div class="chatItemContent"> 
											<img class="avatar" src="<if condition="$userInfo['headimgurl'] neq ''"><?php  echo $userInfo['headimgurl']; ?><else/>{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/css/img/avatar_default17ced3.png</if>"/> 
											<div class="cloud cloudText"> 
												<div class="cloudPannel" style=""> 
													<div class="sendStatus">   </div> 
													<div class="cloudBody"> 
														<div class="cloudContent">                                  
															<pre style="white-space:pre-wrap">{$msgListv.keyword}</pre>  
														</div>  
													</div> 
													<div class="cloudArrow "></div> 
												</div> 
											</div> 
										</div>  
									</div>
								</if>							
							</Volist>							
						</div>
						<div class="scrollbarBox" style="position: absolute; right: 0px; top: 0px; height: 100%;">
							<div class="scrollbar" style="position: absolute; right: 0px; top: 0px; height: 186px; opacity: 0; display: none;"></div>
						</div>
					</div>
					<div id="chat_editor" class="chatOperator lightBorder">
						<style>
							.biaoqing{
								position: relative; 
								display:none; 
								height:25px; 
								width:60px;
								position: absolute;
								z-index: 0;
								background-color: #FFF;
								border: 1px solid #9FA0A0;
								bottom: 4px;
								margin-bottom: 249px;
								left: 5px;
							
							}
							.biaoqing span{
								display: block;
								line-height: 25px;
								text-indent: 20px;
								cursor:pointer
							}
							.biaoqing:hover ul{ 
								display:block
							}
							.biaoqing ul{ 
								display:block; 
								background-color: #FFFFFF;
								border: 1px solid #CCCCCC;box-shadow:0px 1px 3px #ccc;
								
								padding: 5px;
								position: absolute;
								width: 450px; 
							}
							.biaoqing ul li{
								border: 1px solid #dfe6f6;
								height:24px;
								width: 24px;
								display:block;
								padding:2px;
								float:left; 
								cursor:pointer
							}
							.biaoqing ul li:hover{ 
								border: 1px solid #336699;
							}
					</style>
				
						<div class="inputArea">
							<div class="attach">
									
						<ul>
							<li class="biaoqing" style="border:0px;" id="qq">
								<ul>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/0.gif" alt="微笑" onClick="jsbq('微笑')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/1.gif" alt="撇嘴" onClick="jsbq('撇嘴')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/2.gif" alt="色" onClick="jsbq('色')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/3.gif" alt="发呆" onClick="jsbq('发呆')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/4.gif" alt="得意" onClick="jsbq('得意')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/5.gif" alt="流泪" onClick="jsbq('流泪')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/6.gif" alt="害羞" onClick="jsbq('害羞')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/7.gif" alt="闭嘴" onClick="jsbq('闭嘴')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/8.gif" alt="睡" onClick="jsbq('睡')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/9.gif" alt="大哭" onClick="jsbq('大哭')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/10.gif" alt="尴尬" onClick="jsbq('尴尬')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/11.gif" alt="发怒" onClick="jsbq('发怒')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/12.gif" alt="调皮" onClick="jsbq('调皮')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/13.gif" alt="呲牙" onClick="jsbq('呲牙')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/14.gif" alt="惊讶" onClick="jsbq('惊讶')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/15.gif" alt="难过" onClick="jsbq('难过')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/16.gif" alt="酷" onClick="jsbq('酷')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/17.gif" alt="冷汗" onClick="jsbq('冷汗')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/18.gif" alt="抓狂" onClick="jsbq('抓狂')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/19.gif" alt="吐" onClick="jsbq('吐')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/20.gif" alt="偷笑" onClick="jsbq('偷笑')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/21.gif" alt="可爱" onClick="jsbq('可爱')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/22.gif" alt="白眼" onClick="jsbq('白眼')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/23.gif" alt="傲慢" onClick="jsbq('傲慢')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/24.gif" alt="饥饿" onClick="jsbq('饥饿')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/25.gif" alt="困" onClick="jsbq('困')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/26.gif" alt="惊恐" onClick="jsbq('惊恐')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/27.gif" alt="流汗" onClick="jsbq('流汗')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/28.gif" alt="憨笑" onClick="jsbq('憨笑')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/29.gif" alt="大兵" onClick="jsbq('大兵')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/30.gif" alt="奋斗" onClick="jsbq('奋斗')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/31.gif" alt="咒骂" onClick="jsbq('咒骂')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/32.gif" alt="疑问" onClick="jsbq('疑问')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/33.gif" alt="嘘" onClick="jsbq('嘘')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/34.gif" alt="晕" onClick="jsbq('晕')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/35.gif" alt="折磨" onClick="jsbq('折磨')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/36.gif" alt="衰" onClick="jsbq('衰')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/37.gif" alt="骷髅" onClick="jsbq('骷髅')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/38.gif" alt="敲打" onClick="jsbq('敲打')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/39.gif" alt="再见" onClick="jsbq('再见')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/40.gif" alt="擦汗" onClick="jsbq('擦汗')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/41.gif" alt="抠鼻" onClick="jsbq('抠鼻')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/42.gif" alt="鼓掌" onClick="jsbq('鼓掌')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/43.gif" alt="糗大了" onClick="jsbq('糗大了')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/44.gif" alt="坏笑" onClick="jsbq('坏笑')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/45.gif" alt="左哼哼" onClick="jsbq('左哼哼')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/46.gif" alt="右哼哼" onClick="jsbq('右哼哼')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/47.gif" alt="哈欠" onClick="jsbq('哈欠')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/48.gif" alt="鄙视" onClick="jsbq('鄙视')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/49.gif" alt="委屈" onClick="jsbq('委屈')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/50.gif" alt="快哭了" onClick="jsbq('快哭了')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/51.gif" alt="阴险" onClick="jsbq('阴险')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/52.gif" alt="亲亲" onClick="jsbq('亲亲')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/53.gif" alt="吓" onClick="jsbq('吓')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/54.gif" alt="可怜" onClick="jsbq('可怜')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/55.gif" alt="菜刀" onClick="jsbq('菜刀')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/56.gif" alt="西瓜" onClick="jsbq('西瓜')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/57.gif" alt="啤酒" onClick="jsbq('啤酒')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/58.gif" alt="篮球" onClick="jsbq('篮球')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/59.gif" alt="乒乓" onClick="jsbq('乒乓')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/60.gif" alt="咖啡" onClick="jsbq('咖啡')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/61.gif" alt="饭" onClick="jsbq('饭')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/62.gif" alt="猪头" onClick="jsbq('猪头')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/63.gif" alt="玫瑰" onClick="jsbq('玫瑰')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/64.gif" alt="凋谢" onClick="jsbq('凋谢')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/65.gif" alt="示爱" onClick="jsbq('示爱')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/66.gif" alt="爱心" onClick="jsbq('爱心')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/67.gif" alt="心碎" onClick="jsbq('心碎')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/68.gif" alt="蛋糕" onClick="jsbq('蛋糕')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/69.gif" alt="闪电" onClick="jsbq('闪电')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/70.gif" alt="炸弹" onClick="jsbq('炸弹')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/71.gif" alt="刀" onClick="jsbq('刀')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/72.gif" alt="足球" onClick="jsbq('足球')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/73.gif" alt="瓢虫" onClick="jsbq('瓢虫')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/74.gif" alt="便便" onClick="jsbq('便便')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/75.gif" alt="月亮" onClick="jsbq('月亮')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/76.gif" alt="太阳" onClick="jsbq('太阳')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/77.gif" alt="礼物" onClick="jsbq('礼物')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/78.gif" alt="拥抱" onClick="jsbq('拥抱')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/79.gif" alt="强" onClick="jsbq('强')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/80.gif" alt="弱" onClick="jsbq('弱')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/81.gif" alt="握手" onClick="jsbq('握手')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/82.gif" alt="胜利" onClick="jsbq('胜利')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/83.gif" alt="抱拳" onClick="jsbq('抱拳')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/84.gif" alt="勾引" onClick="jsbq('勾引')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/85.gif" alt="拳头" onClick="jsbq('拳头')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/86.gif" alt="差劲" onClick="jsbq('差劲')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/87.gif" alt="爱你" onClick="jsbq('爱你')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/88.gif" alt="NO" onClick="jsbq('NO')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/89.gif" alt="OK" onClick="jsbq('OK')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/90.gif" alt="爱情" onClick="jsbq('爱情')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/91.gif" alt="飞吻" onClick="jsbq('飞吻')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/92.gif" alt="跳跳" onClick="jsbq('跳跳')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/93.gif" alt="发抖" onClick="jsbq('发抖')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/94.gif" alt="怄火" onClick="jsbq('怄火')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/95.gif" alt="转圈" onClick="jsbq('转圈')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/96.gif" alt="磕头" onClick="jsbq('磕头')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/97.gif" alt="回头" onClick="jsbq('回头')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/98.gif" alt="跳绳" onClick="jsbq('跳绳')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/99.gif" alt="挥手" onClick="jsbq('挥手')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/100.gif" alt="激动" onClick="jsbq('激动')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/101.gif" alt="街舞" onClick="jsbq('街舞')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/102.gif" alt="献吻" onClick="jsbq('献吻')"></li>
									<li><img src="{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/face/103.gif" alt="左太极" onClick="jsbq('左太极')"></li>
								</ul>
							</li>
						</ul>
					
								<a href="javascript:;" id="sendEmojiIcon" class="func expression"></a>
								<a href="javascript:;" id="screenSnapIcon" style="display:none" class="func screensnap" click="screenSnap" title="aa" style=""></a>
								<form class="left" style="display:none" id="sendFileIcon" url="" enctype="multipart/form-data" method="post" target="actionFrame">
									<input type="hidden" name="uploadmediarequest" value="{BaseRequest:{}}">
									<a href="javascript:;" class="func file" style="position:relative;display:block;margin:0;" title="文件图片" id="uploadFileContainer">
										<div style="position: absolute;top:0;left:0; width: 100%; height: 100%;overflow:hidden;filter:alpha(opacity=0);opacity:0;cursor:pointer;">
										<div>
											<input change="sendAppMsg@form" type="file" name="filename" style="width:100%;height:100%;margin:0;cursor:pointer;font-size:100px;"></div>
										</div>
									</a>
								</form>
															
							</div>
							<textarea type="text" id="textInput" class="chatInput lightBorder"></textarea>
							<a href="javascript:;" class="chatSend" id='sendmsg'><b>发送</b></a>
							<div id="recordInput" class="recordInput chatInput" style="display:none;"></div>
							<div class="clr"></div>
							
						<textarea type="text" id="textInput" class="chatInput lightBorder" style="visibility: hidden; position: absolute; left: -1000px; padding: 0px 10px; width: 403px; overflow: hidden;"></textarea></div>
						<div class="dragUploaderPanel" id="dragPanel" style="display:none;">
							<div intxt="fadsfa" outtxt="faadsf" style="text-align:center;">
							</div>
						</div>
						<div class="emojiPanel" style="display:none;" id="emojiPanel"></div>
					</div>
				</div>
				<!--change main panel end-->
			</div>
			</div>
			
			
			</div>
			</div>
		
			
<script type="text/javascript">
$(document).ready(function(){
	$(".nav-header").mouseover(function(){
		$(this).css('background-color','#126CA9');
	}).mouseout(function(){
		$(this).css('background-color','#2f8bc9');
	}).click(function(){
		$(this).toggleClass('nav-header-current');
		$(this).next('.ckit').slideToggle();
	})
});

$(document).ready( function(){ 
$('.checkall').click(function(){

$('.checkitem').each(function(){
$(this).attr('checked',$('.checkall').attr('checked'));
});
});

});
  </script>
<div id="popupcontactprofile" class="complexDialog" style="position: absolute;z-index: 1002;left: 100px;top: 107px;display: none;opacity: 1;" ctrl="1">  
	<div class="window" id="popupWindow" style=""> 
		<div class="header"> 
			<p>详细资料</p> <span class="closeIconPanel right"> <a href="javascript:;" class="closeIcon" id="close"></a> </span> 
		</div> 
		<div class="content"> 
			<div class="friendInfo"> 
				<div class="profileContainer" xmlns="http://www.w3.org/1999/html">
					<div class="loadingMaskWind" style="display:none;z-index:1000;"></div>
					<div class="section">
						<div class="personalInfo">
							<img class="friendImg left" src="<if condition="$userInfo['headimgurl'] neq ''"><?php echo  $userInfo['headimgurl']; ?><else/>{:ADDON_PUBLIC_PATH}/../YouaskService/Chat/default/style/css/img/avatar_default17ced3.png</if>" width="100"/>
							<div class="friendMesg left">
								<div><span class="left nickname">{$userInfo.nickname|default='新客户'}</span>
								<span class="genderIcon maleIcon left"></span>
								<div class="clr"></div></div>
								<p>微信号：<span></span></p>                                                            
								<p style="display:none;" class="remarkSection">备注名：<a href="javascript:;" click="editRemarkName"><span class="remarkname"></span><span class="editRemarkNameIcon show" title="修改"></span></a><input class="modifyInput" type="text" style="display:none;" nickname="Nerking"></p>                 
							</div>
							<div class="clr"></div>
						</div>
					</div>
					<div class="section">
						<div class="physicalInfor"><p class="tr firstTr"><span class="tdLeft left">地区</span><span class="tdRight left">四川&nbsp;成都	</span></p><p class="tr"><span class="tdLeft left">个性签名</span><span class="tdRight left">一切都是命运'我却不信</span></p></div>
					</div>
					<div class="section" style="display:none;">
						<div class="verification"><p>对方启用了朋友验证，请输入你的验证申请<br>对方通过后你才能添加其为朋友</p><input class="inputVerifi" type="text" keyup="enterRequest@.section"><div class="operBtn"><a class="left btnBrown" href="javascript:;" un="ok"><input type="button" value="发送" click="sendRequest@.section" addsucctips="发送成功" adderrtips="发送失败"></a><a class="btnGray right" href="javascript:;" un="cancel"><input type="button" value="取消" click="cancelRequest@.section"></a><div class="clr"></div></div>
						</div>
					</div>
					<div class="section">
						<div class="nextStep"><a class=" btnBrown" href="javascript:;"><input type="button" value="发消息" click="enterSession" username="yixiaoweb"></a></div>
					</div>
				</div>
				<div class="hdAvatarContainer" style="display:none;"><img><a href="javascript:;" click="returnToProfile@.hdAvatarContainer">back</a><a></a></div> 
			</div> 
		</div> 
	</div> 
</div>
<div style="height:200px;display:none" id="textNow">

</div>
			</body>